import request from '@/utils/request'

// 查询用户和战队中间列表
export function listUser_city_join(query) {
  return request({
    url: '/admin/user_city_join/list',
    method: 'get',
    params: query
  })
}

// 查询用户和战队中间详细
export function getUser_city_join(id) {
  return request({
    url: '/admin/user_city_join/' + id,
    method: 'get'
  })
}

// 新增用户和战队中间
export function addUser_city_join(data) {
  return request({
    url: '/admin/user_city_join',
    method: 'post',
    data: data
  })
}

// 修改用户和战队中间
export function updateUser_city_join(data) {
  return request({
    url: '/admin/user_city_join',
    method: 'put',
    data: data
  })
}

// 删除用户和战队中间
export function delUser_city_join(id) {
  return request({
    url: '/admin/user_city_join/' + id,
    method: 'delete'
  })
}

// 导出用户和战队中间
export function exportUser_city_join(query) {
  return request({
    url: '/admin/user_city_join/export',
    method: 'get',
    params: query
  })
}